<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">

	<title>我的评价</title>
	<link rel="stylesheet" href="../css/mui.min.css" />
	<link rel="stylesheet" href="../css/common.css" />
	<link rel="stylesheet" href="../iconfont/iconfont.css" />
	<style>
		.content {
			margin-top: 1px;
		}
		
		.comment-menu > .active {
			color: #FC3A2E;
			border-bottom: 2px solid #FC3A2E;
		}
		
		.comment-tlt {
			color: #999;
			font-size: 14px;
		}
		/*.comment-cmt{text-indent: .8em;}*/
		
		.comment-star i {
			color: #CCCCCC;
			font-size: 20px;
		}
		
		.comment-star .active {
			color: #FC3A2E;
		}
		.product {
			margin: 5px 0;
			padding-top: 10px;
		}
	</style>
</head>
<body>
	<!--数据列表 开始-->
	<div class="mui-content mui-scroll-wrapper container-pull-refresh no-pad">
		<div class="mui-scroll">
			<!--数据列表-->
			<section class="mui-table-view mui-row scroll-data" data-tpl="tpl-template">
				<div class="no-data"><img src="../image/icon-waiting.gif" /></div>
			</section>
		</div>
	</div>
	<!--数据列表 结束-->
	
	<!--商品模板 开始-->
	<script type="text/template" id="tpl-template">
		{{if !data || data.length == 0}}
		<div class="no-data">
			<center>暂时无数据</center>
		</div>
		{{/if}}
		{{each data as item}}
		<div class="content white product" data-id="{{item.goods_id}}">
			<div class="comment-tlt pad-h-md">
				<label>{{item.goods_title}}</label>
			</div>
			<div class="comment-cmt pad-h-md pad-v-sm">
				<span>{{item.content}}</span>
			</div>
			<div class="comment-star pad-h-md">
				<i class="iconfont icon-star {{if 1 <= item.star}}active{{/if}}"></i>
				<i class="iconfont icon-star {{if 2 <= item.star}}active{{/if}}"></i>
				<i class="iconfont icon-star {{if 3 <= item.star}}active{{/if}}"></i>
				<i class="iconfont icon-star {{if 4 <= item.star}}active{{/if}}"></i>
				<i class="iconfont icon-star {{if 5 <= item.star}}active{{/if}}"></i>
			</div>
			<div class="comment-time pad-h-md pad-v-sm">
				<time>已评价 {{item.create_time}}</time>
			</div>
		</div>
		{{/each}}
	</script>
	<!--商品模板 结束-->

	<script type="text/javascript" src="../js/mui.min.js"></script>
	<script type="text/javascript" src="../js/jquery.min.js"></script>
	<script type="text/javascript" src="../js/template.js"></script>
	<script type="text/javascript" src="../js/app.js"></script>
	<script type="text/javascript" src="member.comment.scroll.js" ></script>
</body>
</html>